
import java.io.BufferedReader;
import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import org.apache.commons.httpclient.Cookie;
import org.apache.commons.httpclient.DefaultHttpMethodRetryHandler;
import org.apache.commons.httpclient.HttpClient;
import org.apache.commons.httpclient.HttpStatus;
import org.apache.commons.httpclient.NameValuePair;
import org.apache.commons.httpclient.methods.GetMethod;
import org.apache.commons.httpclient.methods.PostMethod;
import org.apache.commons.httpclient.params.HttpMethodParams;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
/**
 *
 * @author Administrator
 */
public class picture {

    public static void main(String[] args) throws IOException {
        HttpClient httpClient=new HttpClient();
        String url="http://mi.98gc.info/00/05.html";
        GetMethod getMethod=new GetMethod(url);
        httpClient.executeMethod(getMethod);
        InputStream s=getMethod.getResponseBodyAsStream();
        BufferedReader reader=new BufferedReader(new InputStreamReader(s));
        String line=reader.readLine();
        while(line!=null){
            System.out.println(line);
            line=reader.readLine();
        }
        reader.close();
    }
}
